import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /collectionCycle/getDetail/{contractId}
 */
export function getCollectionCycleGetDetailByContractId(params: GetCollectionCycleGetDetailByContractIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/collectionCycle/getDetail/${params.contractId}`, config);
}

export interface GetCollectionCycleGetDetailByContractIdParams {
    contractId: number;
}
